package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * crm里老表的经纪人编号
 */
@ApiModel(description = "crm里老表的经纪人编号")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class CrmJjrbh   {
  @JsonProperty("jjrbh")
  private String jjrbh = null;

  @JsonProperty("crmId")
  private Integer crmId = null;

  public CrmJjrbh jjrbh(String jjrbh) {
    this.jjrbh = jjrbh;
    return this;
  }

  /**
   * 经纪人编号
   * @return jjrbh
  **/
  @ApiModelProperty(example = "3216546", value = "经纪人编号")


  public String getJjrbh() {
    return jjrbh;
  }

  public void setJjrbh(String jjrbh) {
    this.jjrbh = jjrbh;
  }

  public CrmJjrbh crmId(Integer crmId) {
    this.crmId = crmId;
    return this;
  }

  /**
   * crmId
   * @return crmId
  **/
  @ApiModelProperty(example = "100001", value = "crmId")


  public Integer getCrmId() {
    return crmId;
  }

  public void setCrmId(Integer crmId) {
    this.crmId = crmId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CrmJjrbh crmJjrbh = (CrmJjrbh) o;
    return Objects.equals(this.jjrbh, crmJjrbh.jjrbh) &&
        Objects.equals(this.crmId, crmJjrbh.crmId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(jjrbh, crmId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CrmJjrbh {\n");
    
    sb.append("    jjrbh: ").append(toIndentedString(jjrbh)).append("\n");
    sb.append("    crmId: ").append(toIndentedString(crmId)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

